/**
 * 
 */
package com.thor.palmmall.rest.device.repair;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.thor.commons.entity.KV;
import com.thor.commons.entity.UCN;
import com.thor.palmmall.rest.common.ABill2;
import com.thor.palmmall.rest.common.ADeviceRepairMaterial;
import com.thor.palmmall.rest.common.APicture;
import com.thor.palmmall.rest.common.ASourceBill;
import com.thor.palmmall.rest.common.AWorkOrder;
import com.thor.palmmall.rest.repair.AProcessRecord;

/**
 * @author NuoSa
 *
 * @since 1.0
 */
public class ADeviceRepair extends ABill2 {
  private static final long serialVersionUID = 1304728613419302675L;

  private String abortMsg;
  private String bpmOutgoingState;
  private UCN store;
  private UCN category;
  private UCN applicant;
  private Date repairDate;
  private Date repairBeginTime;
  private Date repairEndTime;
  private Date reportDate;
  private UCN repairor;
  private String telephone;
  private BigDecimal artificialFee;
  private BigDecimal partsFee;
  private ASourceBill sourceBill;
  private String situation;
  private List<AProcessRecord> processes = new ArrayList<AProcessRecord>();
  private String tenantEvaluation;
  private UCN device;
  private String place;
  private String evaluation;
  private UCN evaluateUser;
  private Date evaluateTime;
  private List<ADeviceRepairMaterial> materials = new ArrayList<ADeviceRepairMaterial>();
  private List<APicture> pictures = new ArrayList<APicture>();
  private List<APicture> afterPictures = new ArrayList<APicture>();
  private List<KV> items = new ArrayList<KV>();

  private String type;
  private AWorkOrder workOrder;
  private String remark;
  private String handler;
  
  
  public String getAbortMsg() {
    return abortMsg;
  }

  public void setAbortMsg(String abortMsg) {
    this.abortMsg = abortMsg;
  }

  public UCN getStore() {
    return store;
  }

  public void setStore(UCN store) {
    this.store = store;
  }

  public UCN getCategory() {
    return category;
  }

  public void setCategory(UCN category) {
    this.category = category;
  }

  public Date getRepairDate() {
    return repairDate;
  }

  public void setRepairDate(Date repairDate) {
    this.repairDate = repairDate;
  }

  public Date getRepairBeginTime() {
    return repairBeginTime;
  }

  public void setRepairBeginTime(Date repairBeginTime) {
    this.repairBeginTime = repairBeginTime;
  }

  public Date getRepairEndTime() {
    return repairEndTime;
  }

  public void setRepairEndTime(Date repairEndTime) {
    this.repairEndTime = repairEndTime;
  }

  public UCN getRepairor() {
    return repairor;
  }

  public void setRepairor(UCN repairor) {
    this.repairor = repairor;
  }

  public String getTelephone() {
    return telephone;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }

  public ASourceBill getSourceBill() {
    return sourceBill;
  }

  public void setSourceBill(ASourceBill sourceBill) {
    this.sourceBill = sourceBill;
  }

  public String getSituation() {
    return situation;
  }

  public void setSituation(String situation) {
    this.situation = situation;
  }

  public UCN getDevice() {
    return device;
  }

  public void setDevice(UCN device) {
    this.device = device;
  }

  public String getPlace() {
    return place;
  }

  public void setPlace(String place) {
    this.place = place;
  }

  public BigDecimal getArtificialFee() {
    return artificialFee;
  }

  public void setArtificialFee(BigDecimal artificialFee) {
    this.artificialFee = artificialFee;
  }

  public BigDecimal getPartsFee() {
    return partsFee;
  }

  public void setPartsFee(BigDecimal partsFee) {
    this.partsFee = partsFee;
  }

  public String getTenantEvaluation() {
    return tenantEvaluation;
  }

  public void setTenantEvaluation(String tenantEvaluation) {
    this.tenantEvaluation = tenantEvaluation;
  }

  public List<AProcessRecord> getProcesses() {
    return processes;
  }

  public void setProcesses(List<AProcessRecord> processes) {
    this.processes = processes;
  }

  public List<APicture> getPictures() {
    return pictures;
  }

  public void setPictures(List<APicture> pictures) {
    this.pictures = pictures;
  }

  public List<KV> getItems() {
    return items;
  }

  public void setItems(List<KV> items) {
    this.items = items;
  }

  public List<ADeviceRepairMaterial> getMaterials() {
    return materials;
  }

  public void setMaterials(List<ADeviceRepairMaterial> materials) {
    this.materials = materials;
  }

  public String getBpmOutgoingState() {
    return bpmOutgoingState;
  }

  public void setBpmOutgoingState(String bpmOutgoingState) {
    this.bpmOutgoingState = bpmOutgoingState;
  }

  public UCN getApplicant() {
    return applicant;
  }

  public void setApplicant(UCN applicant) {
    this.applicant = applicant;
  }

  public Date getReportDate() {
    return reportDate;
  }

  public void setReportDate(Date reportDate) {
    this.reportDate = reportDate;
  }

  public String getEvaluation() {
    return evaluation;
  }

  public void setEvaluation(String evaluation) {
    this.evaluation = evaluation;
  }

  public UCN getEvaluateUser() {
    return evaluateUser;
  }

  public void setEvaluateUser(UCN evaluateUser) {
    this.evaluateUser = evaluateUser;
  }

  public Date getEvaluateTime() {
    return evaluateTime;
  }

  public void setEvaluateTime(Date evaluateTime) {
    this.evaluateTime = evaluateTime;
  }

  public List<APicture> getAfterPictures() {
    return afterPictures;
  }

  public void setAfterPictures(List<APicture> afterPictures) {
    this.afterPictures = afterPictures;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public AWorkOrder getWorkOrder() {
    return workOrder;
  }

  public void setWorkOrder(AWorkOrder workOrder) {
    this.workOrder = workOrder;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public String getHandler() {
    return handler;
  }

  public void setHandler(String handler) {
    this.handler = handler;
  }

  
}
